package com.zqh.forum.model;

import lombok.Data;

import java.util.Date;

/**
 * 帖子信息类
 */
@Data
public class Article {
    private Long id;

    private Long boardId;

    private Long userId;

    //文章标题
    private String title;

    //访问数
    private Integer visitCount;

    //回复数
    private Integer replyCount;

    //点赞数
    private Integer likeCount;

    private Byte state;

    private Byte deleteState;

    private Date createTime;

    private Date updateTime;

    //帖子内容
    private String content;

    //是否是作者
    private Boolean own ;

    //关联对象-作者
    private User user;

    //关联对象-板块
    private Board board;
}